﻿.gwt-RadioButton input, .gwt-RadioButton label, .gwt-CheckBox label, .gwt-CheckBox input
{
margin-left: 0;
margin-top: 0;
vertical-align: middle;
}

/***********************grid-panel**********************************/
.grid-panel{width: 100%;background: #F8F8F8;}
.grid-panel-details{position: relative;top: 25px;}
.grid-view{border: medium none;overflow: hidden;}
.grid-body{overflow-y: auto;margin: 0 -1px -1px 0px;height: 50px;}
/******************* grid-table ************************************/
.grid-table{border-collapse: separate;width: 100%;}
.grid-table td.text, .grid-table td.left{text-align: center;}
.grid-table td.number, .grid-table th.number, .grid-table td.right, .grid-table th.right{text-align: right;}
.grid-table td.number .number .cell-text, .grid-table td.number .number .cell-editor{float: right;}
.grid-table td.image, .grid-table th.image, .grid-table td.center, .grid-table th.center{text-align: center;}
.grid-table th.lookup, .grid-table td.lookup{background: none repeat scroll 0 0 #AFAFAF;cursor: pointer;padding: 0;width: 8px;border-bottom: 1px solid #AFAFAF;}
.grid-table .lookup.hover{/*background-color: #0253a5;border-bottom: 1px solid #0253a5;*/}
.grid-table th.lookup .lookup-arrow{background: url("/Public/Images/grid/right-white.png") no-repeat scroll 0 0 transparent;display: block;height: 9px;margin: 16px 2px 0;width: 5px;}
.grid-table th.lookup.expand .lookup-arrow{background: url("/Public/Images/grid/left-white.png") repeat scroll 0 0 transparent;display: block;height: 9px;margin: 16px 2px 0;width: 5px;}
.grid-table th.hide, .grid-table td.hide{display: none;}
.grid-table .checked-column{text-align: center;width: 30px;vertical-align: middle;}
/**************************grid-header*****************************/
.grid-header{overflow: hidden;margin: 0 -1px;}
.grid-header th{vertical-align:middle;overflow: hidden;height: 50px;background-color: #f7f7f7;}
.grid-header th.rownumber{width: 50px;margin-left: 10px;}
.grid-header th.empty{padding: 0;margin: 0;}
.grid-header th .gwt-CheckBox{vertical-align: middle;text-align: center;}
.grid-header .header-inner{min-height: 20px;/*float:left;批量编辑是保存按钮的同行显示 */}
.grid-header .lookup .header-inner{width: 8px;cursor: pointer;}
.grid-header th.selectable{cursor: pointer;}
.grid-header th.selectable .icon{/*background: url("/Public/Images/grid/report_icon.png") repeat scroll 0 0 transparent;*/display: inline-block;height: 16px;margin-right: 3px;width: 16px;}
/*.grid-header th.selected{background-color: #FFFFFF;border-top: medium none;}*/
.grid-header .header-title{color: #666666;font-size: 16px;text-align: center;font-weight: bold;line-height: 25px;}
.grid-header .header-subtitle{display: none; color: #666666;font-weight: normal;padding: 0 4px;font-size: 11px;line-height: 18px;border-top: 1px solid #f7f7f7;}
.grid-header th.selected .header-subtitle{border-top: none;margin-top: 1px;}
/*.grid-header th.sortable .header-subtitle{height: 20px;}
.grid-header th.sortable .header-subtitle.hover{cursor: pointer;border-top: 1px solid #C1C1C1;background: url("/Public/Images/grid/sortbg.gif") repeat-x scroll 0 0 transparent;}
.grid-header .sorted-asc .header-subtitle{background: url('../images/grid/asc.gif') no-repeat center bottom transparent;}
.grid-header .sorted-desc .header-subtitle{background: url('../images/grid/desc.gif') no-repeat center bottom transparent;}
*/
.grid-header th .sorted{display: none;width: 30px;height: 30px; background: url("../images/grid_icons.png") no-repeat scroll -32px -32px transparent;}
.grid-header th .sorted.asc{background-position: -96px -32px;}
.grid-header th .sorted.desc{background-position: -32px -32px;}
.grid-header th.sortable .header-title{cursor: pointer;}
.grid-header th.selected.sortable .sorted{display: inline-block;display: -moz-inline-block;}
.grid-header .sortable:hover .header-title,.grid-header th.selected .header-title{color: #1CAC00;}
.grid-header .sortable:hover .sorted.asc,.grid-header th.selected .sorted.asc{background-position: -64px -32px;}
.grid-header .sortable:hover .sorted.desc,.grid-header th.selected .sorted.desc{background-position: 0 -32px;}




.header-editor{/* width:85%;ie7中grid首行过宽*/}
.header-edit-btn{background: url("/Public/Images/grid/OK_off.png") no-repeat scroll 0 0 transparent;border: medium none;width: 16px;margin-left: 4px;cursor: pointer;float: left;}
.header-edit-btn.hover{}
.header-edit-btn.validate{background: url("/Public/Images/grid/OK_on.gif") no-repeat scroll 0 0 transparent;}
.editing .editable .header-editor, .editing .editable .header-edit-btn{display: block;}
.editing .editable .grid-header-sort-arear, .editable .header-editor, .editable .header-edit-btn{display: none;}
.editable .header-editor, .editable .header-edit-btn{height: 18px;float: left;}
.grid-edit-filed{margin: 0;padding: 0;width: 100%;border: 1px solid #c1c1c1;}
.grid-header-row{background-color: #F7F7F7;}
/************************ grid-row ******************************/
.grid-row{}
.grid-row.hover .editable .cell-text{border:none;background-color: #FFF;}
.grid-row.selected{border:none;}
.grid-row.selected .editable{background-color: #FFF6C3;}
.grid-row.selected .cell-text{}
.grid-row.disabled, .grid-row.gray{background: #EEE;}
.grid-group-row, .grid-group-row td.lookup{background-color: #dedede;}
.row-empty td{text-align: center;vertical-align: middle;height: 60px;}
.empty-warning{background: url("/Public/Images/grid/warning_big.gif") no-repeat scroll left center transparent;height: 37px;padding: 10px 10px 10px 40px;cursor: default;display: inline-block;line-height: 37px;}
.ie7 .empty-warning{background: url("/Public/Images/grid/warning_big.gif") no-repeat scroll left center transparent;height: 37px;padding: 10px 10px 10px 80px;cursor: default;}
/************************ grid-cell *******************************/
.grid-cell{color: #000000;overflow: hidden;line-height: 18px;padding: 0 0 10px;}
.grid-cell.first{}
.grid-cell.rownumber{width: 50px;}
.grid-cell.hover{overflow: hidden;}
.grid-cell.hover .editable .cell-editor{display: block;}
.cell-inner{padding: 4px 0;min-height: 32px;background: #FFFFFF; text-align: center;cursor: default;overflow: hidden;border-top: 1px solid #ECECEC;border-bottom: 1px solid #ECECEC;}
.cell-inner .gwt-CheckBox{vertical-align: middle;text-align: center;}
.lookup .cell-inner /*,.lookup .header-inner*/{width: 8px;cursor: pointer;}
.grid-cell.first .cell-inner{margin-left: 8px;border-left: 3px solid #3cbf00;}
.grid-cell.last .cell-inner{border-right: 1px solid #ECECEC;}
.grid-row.selected .cell-inner,.grid-row.hover .cell-inner{padding: 2px 0; border-top: 3px solid #3cbf00;border-bottom: 3px solid #3cbf00;}
.grid-row.selected .grid-cell.first .cell-inner,.grid-row.hover .grid-cell.first .cell-inner{margin-left: 8px; border-left: 3px solid #3cbf00;}
.grid-row.selected .grid-cell.first .cell-inner{background: url("../images/gou.png") no-repeat scroll 0 0;}
.grid-row.selected .grid-cell.last .cell-inner,.grid-row.hover .grid-cell.last .cell-inner{border-right: 3px solid #3cbf00;}


.cell-inner.editable{}
.grid-cell.empty{word-break: keep-all;word-wrap: break-word;}
.cell-editor{display: none;height: 16px;width: 16px;background: url('../images/grid/edit.gif') no-repeat right center transparent;cursor: pointer;float: left;}
.cell-text{border:none;font-size: 14px;display: block;min-height: 18px;min-width: 25px;border-right: 1px solid #ECECEC;line-height: 28px;vertical-align: middle;}
.grid-cell.last .cell-text{border: none;}
/*.grid-body-cell-text-uneditable{padding:0px;}*/
.ie .cell-text{border:none;font-size: 12px;padding: 0 4px;margin: 0 2px;display: block;float: left;min-height: 18px;min-width: 25px;}
/*.ie .grid-body-cell-text-uneditable{padding:0px;}*/
.cell-text.cell-tip{white-space: nowrap;word-wrap: normal;overflow: hidden;text-overflow: ellipsis;-o-text-overflow: ellipsis;}
/********************* grid-pagging-bar ***************************/
.bar-btn{float: right;}
.grid-pagging-bar{font-size: 14px;height: 50px;padding: 10px 0;}
.grid-pagging-bar a{background-color: #f7f7f7; color: #8E8E8E ;float: left;line-height: 25px;margin-right: 4px;padding: 0 4px;position: relative;text-decoration: none;vertical-align: middle;}
.grid-pagging-bar a.disabled{background-color: #ECECEC ;color: #444444;cursor: default;display: none;}
.grid-pagging-bar a:hover{border-color: #3588AF;}
.grid-pagging-bar .prev{background: url("../images/prev.png") no-repeat scroll 0 50% transparent;padding-left: 1em;}

.grid-pagging-bar .next{background: url("../images/next.png") no-repeat scroll right center transparent;padding-right: 1em;}
.page-number-container{float: left;}
.page-number-container{height:20px;line-height:20px;padding: 0 5px;}
.page-number-container .page-number{width: 15px;text-align: center;vertical-align: middle;}
.page-number-container .page-number.selected{border: 1px solid #5FC91F;}
.page-number-container .number-ellipsis{float: left;width: 15px;text-align:center;vertical-align: middle;line-height: 25px;}
.pagebar-number-select, .pagebar-number-ellipsis{border: 1px solid #FFFFFF;color: #005EA4;float: left;height: 18px;line-height: 18px;padding: 0 4px;}

/*************************** grid-footer **************************/
.grid-footer-cell{border-bottom: 1px solid #c1c1c1;border-left: 1px solid #c1c1c1;text-align: center;padding: 4px;}
.grid-footer-link{line-height: 18px;min-height: 25px;color: #0c68a4;}
/*********************** grid-editor *****************************/
.grid-edit-dialog{display: none;min-width: 100px;position: absolute;z-index: 9999;/*width:150px;单项修改时编辑框的宽度*/width: 180px;}
.grid-edit-dialog-inner{background: none repeat scroll 0 0 #FFFFFF;border-color: #EA9500 #EA9500;border-style: solid solid none;border-width: 1px 1px medium;padding: 4px;text-align: left;width: 100%;float: left; /*单个物料属性编辑时编辑框样式正确显示*/}
.grid-edit-dialog-btn{background-color: #FFEB99;border: 1px solid #EA9500;clear: both;overflow: hidden;padding: 4px;width: 100%;text-align: center;}
.grid-edit-dialog-btn-center{margin: 0 auto;display: inline-block;}
.grid-edit-filed-wrap{position: relative;/*overflow:hidden; removed by gaofei */float: left; /*批量编辑的保存按钮同行显示*/width: 100%;}
.grid-edit-filed-date{padding-left: 20px;width: 78%; /* 批量编辑结束日期 文本框宽度过宽87%*/}
.grid-edit-filed-check{left: 5px;position: absolute;/* position:relative;   top: 2px;qingling*/top: 4px;}
